package chapterSystem.client.entities;

import chapterSystem.client.model.entitiesInt.Unit;

import java.io.Serializable;
import java.util.List;

/**
 * User: Svetlana Zemlyanskaya(svetazem@yandex-team.ru)
 * Date: 4/8/12
 */
public class UnitInfo implements Serializable {

    private Unit root;
    private Unit current;
    private List<Unit> submission;

    public UnitInfo() {}

    public UnitInfo(final Unit root, final Unit current, final List<Unit> submission) {
        this.root = root;
        this.current = current;
        this.submission = submission;
    }

    public Unit getRoot() {
        return root;
    }

    public Unit getCurrent() {
        return current;
    }

    public List<Unit> getSubmission() {
        return submission;
    }
}
